package com.duowan.realtime.webservice;

import java.util.List;

import com.duowan.realtime.model.BloomfilterGroup;
import com.duowan.realtime.model.BloomfilterInfo;
import com.duowan.realtime.model.OverviewBloomfilter;
import com.duowan.realtime.model.OverviewComputingGroup;

public interface DataComputingWebService {

	public String getServerIp(String realtimeComputingGroup);
	
	public boolean checkBloomFilterExists(String bloomfilterGroup);
	
	public List<OverviewBloomfilter> getBFListByBFGroup(String bloomfilterGroup);
	
	public List<OverviewBloomfilter> getBFListByServerIp(String serverIp);

	public OverviewBloomfilter reportBFStatus(OverviewBloomfilter overviewBloomfilter);
	
	public BloomfilterGroup getByBloomfilterGroup(String bloomfilterGroup);
	
	public void removeBloomfilter(String bloomfilterGroup, String bloomfilterName, String partition);
	
	public List<BloomfilterGroup> getBFGroupMetaDatas();
	
	public List<BloomfilterInfo> getBloomfilterInfos();
	
	public BloomfilterInfo reportBFInfo(BloomfilterInfo bloomfilterInfo);
	
	public OverviewComputingGroup reportDCGroupStatus(OverviewComputingGroup overviewComputingGroup);
	
	public void removeBloomfilterInfo(int id);
}
